package com.sikaryofficial.system.domain.mapping;

import com.sikaryofficial.system.domain.SysMenuNew;
import com.sikaryofficial.system.domain.SysMenuNewSaveReq;
import com.sikaryofficial.system.domain.dto.SysMenuNewResp;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author : wuweihong
 * @desc : TODO  请填写你的功能描述
 * @date : 2025-08-11
 */

@Mapper
public interface SysMenuNewMapping {

	SysMenuNewMapping INSTANCE = Mappers.getMapper(SysMenuNewMapping.class);

	SysMenuNew covertToReq(SysMenuNewSaveReq saveReq);

	SysMenuNewResp covertToResp(SysMenuNew sysMenuNew);

	List<SysMenuNewResp> covertToListResp(List<SysMenuNew> sysMenuNews);

}
